home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / pmake / RCS / all.mk,v < prev    next >
Encoding:
Text File  |  1991-04-13  |  7.1 KB  |  312 lines

  1. head     1.10;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.10
  10. date     90.02.20.11.50.11;  author douglis;  state Exp;
  11. branches ;
  12. next     1.9;
  13.  
  14. 1.9
  15. date     89.09.13.07.48.35;  author douglis;  state Exp;
  16. branches ;
  17. next     1.8;
  18.  
  19. 1.8
  20. date     89.04.03.22.23.34;  author douglis;  state Exp;
  21. branches ;
  22. next     1.7;
  23.  
  24. 1.7
  25. date     88.11.06.20.14.15;  author douglis;  state Exp;
  26. branches ;
  27. next     1.6;
  28.  
  29. 1.6
  30. date     88.08.23.16.47.03;  author douglis;  state Exp;
  31. branches ;
  32. next     1.5;
  33.  
  34. 1.5
  35. date     88.08.12.15.53.59;  author ouster;  state Exp;
  36. branches ;
  37. next     1.4;
  38.  
  39. 1.4
  40. date     88.06.06.17.45.01;  author ouster;  state Exp;
  41. branches ;
  42. next     1.3;
  43.  
  44. 1.3
  45. date     88.06.05.17.40.41;  author ouster;  state Exp;
  46. branches ;
  47. next     1.2;
  48.  
  49. 1.2
  50. date     88.06.05.11.47.52;  author ouster;  state Exp;
  51. branches ;
  52. next     1.1;
  53.  
  54. 1.1
  55. date     88.06.02.15.50.44;  author ouster;  state Exp;
  56. branches ;
  57. next     ;
  58.  
  59.  
  60. desc
  61. @@
  62.  
  63.  
  64. 1.10
  65. log
  66. @tried to add some consistency to ::/: operators, and fixed tve's TYPE==personal complaint
  67. @
  68. text
  69. @#
  70. # This is an included makefile that generates targets for things
  71. # that are target-machine-dependent.  For example, for the "install"
  72. # target this file generates a target of the form installx for
  73. # each target macine x, and a target of the form installall that
  74. # will regenerate all of the machines.
  75. #
  76. # Before including this makefile, the calling makefile should define
  77. # the following variables:
  78. #
  79. # MACHINES        List of all known target machines
  80. # PASSVARS        Stuff to put on command lines for sub-makes to
  81. #            pass them relevant variable values.
  82. # no_md_srcs        If defined, there's only one dependency file
  83. #            and one lint file, so separate machine-dependent
  84. #            targets need not be generated.
  85. #
  86. # $Header: /sprite/lib/pmake/RCS/all.mk,v 1.9 89/09/13 07:48:35 douglis Exp Locker: douglis $
  87. #
  88.  
  89. #
  90. # For each general sort of target, one of the variables below holds
  91. # a list of machine-dependent targets, one item for each possible
  92. # machine.
  93. #
  94. CLEANALL    = $(MACHINES:S/^/clean/g)
  95. TIDYALL        = $(MACHINES:S/^/tidy/g)
  96. DEPENDALL    = $(MACHINES:S/^/depend/g)
  97. INSTALLALL    = $(MACHINES:S/^/install/g)
  98. INSTALLHDRSALL    = $(MACHINES:S/^/installhdrs/g)
  99. INSTALLSRCALL    = $(MACHINES:S/^/installsrc/g)
  100. INSTALLDEBUGALL    = $(MACHINES:S/^/installdebug/g)
  101. INSTLINTALL    = $(MACHINES:S/^/instlint/g)
  102. LINTALL        = $(MACHINES:S/^/lint/g)
  103. PROFILEALL    = $(MACHINES:S/^/profile/g)
  104. DEBUGALL    = $(MACHINES:S/^/debug/g)
  105.  
  106. # Some of these are .NOEXPORT because they're likely to create multiple
  107. # subprocesses and we don't want exponential growth.  Things like 
  108. # "pmake dependall" can be done in parallel, however.
  109.  
  110. $(MACHINES)        :: .MAKE .NOEXPORT
  111.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET)
  112. $(CLEANALL)        :: .MAKE 
  113.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^clean//) clean
  114. $(TIDYALL)        :: .MAKE 
  115.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^tidy//) tidy
  116. $(DEPENDALL)        :: .MAKE 
  117.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^depend//) depend
  118. $(INSTALLALL)        :: .MAKE .NOEXPORT
  119.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^install//) install
  120. $(INSTALLHDRSALL)        :: .MAKE .NOEXPORT
  121.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^installhdrs//) installhdrs
  122. $(INSTALLSRCALL)        :: .MAKE .NOEXPORT
  123.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^installsrc//) installsrc
  124. $(INSTALLDEBUGALL)        :: .MAKE .NOEXPORT
  125.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^installdebug//) installdebug
  126. $(INSTLINTALL)        :: .MAKE .NOEXPORT
  127.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^instlint//) instlint
  128. $(LINTALL)        :: .MAKE 
  129.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^lint//) lint
  130. $(PROFILEALL)        :: .MAKE .NOEXPORT
  131.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^profile//) profile
  132. $(DEBUGALL)        :: .MAKE .NOEXPORT
  133.     $(MAKE) -l $(PASSVARS) TM=$(.TARGET:S/^debug//) debug
  134.  
  135.  
  136. all            :: $(MACHINES)
  137. cleanall        :: $(CLEANALL)
  138. tidyall            :: $(TIDYALL)
  139. dependall        :: $(DEPENDALL)
  140. installall        :: $(INSTALLALL)
  141. installhdrsall        :: $(INSTALLHDRSALL)
  142. installsrcall        :: $(INSTALLSRCALL)
  143. installdebugall        :: $(INSTALLDEBUGALL)
  144. instlintall        :: $(INSTLINTALL)
  145. lintall            :: $(LINTALL)
  146. profileall        :: $(PROFILEALL)
  147. debugall        :: $(DEBUGALL)
  148. @
  149.  
  150.  
  151. 1.9
  152. log
  153. @ok to export cleanall, dependall, etc.
  154. @
  155. text
  156. @d18 1
  157. a18 1
  158. # $Header: /sprite/lib/pmake/RCS/all.mk,v 1.8 89/04/03 22:23:34 douglis Exp Locker: douglis $
  159. d42 1
  160. a42 1
  161. $(MACHINES)        : .MAKE .NOEXPORT
  162. d44 1
  163. a44 1
  164. $(CLEANALL)        : .MAKE 
  165. d46 1
  166. a46 1
  167. $(TIDYALL)        : .MAKE 
  168. d48 1
  169. a48 1
  170. $(DEPENDALL)        : .MAKE 
  171. d50 1
  172. a50 1
  173. $(INSTALLALL)        : .MAKE .NOEXPORT
  174. d52 1
  175. a52 1
  176. $(INSTALLHDRSALL)        : .MAKE .NOEXPORT
  177. d54 1
  178. a54 1
  179. $(INSTALLSRCALL)        : .MAKE .NOEXPORT
  180. d56 1
  181. a56 1
  182. $(INSTALLDEBUGALL)        : .MAKE .NOEXPORT
  183. d58 1
  184. a58 1
  185. $(INSTLINTALL)        : .MAKE .NOEXPORT
  186. d60 1
  187. a60 1
  188. $(LINTALL)        : .MAKE 
  189. d62 1
  190. a62 1
  191. $(PROFILEALL)        : .MAKE .NOEXPORT
  192. d64 1
  193. a64 1
  194. $(DEBUGALL)        : .MAKE .NOEXPORT
  195. d68 12
  196. a79 12
  197. all            : $(MACHINES)
  198. cleanall        : $(CLEANALL)
  199. tidyall            : $(TIDYALL)
  200. dependall        : $(DEPENDALL)
  201. installall        : $(INSTALLALL)
  202. installhdrsall        : $(INSTALLHDRSALL)
  203. installsrcall        : $(INSTALLSRCALL)
  204. installdebugall        : $(INSTALLDEBUGALL)
  205. instlintall        : $(INSTLINTALL)
  206. lintall            : $(LINTALL)
  207. profileall        : $(PROFILEALL)
  208. debugall        : $(DEBUGALL)
  209. @
  210.  
  211.  
  212. 1.8
  213. log
  214. @added 'tidy' target.
  215. @
  216. text
  217. @d18 1
  218. a18 1
  219. # $Header: /sprite/lib/pmake/RCS/all.mk,v 1.7 88/11/06 20:14:15 douglis Exp Locker: douglis $
  220. d38 4
  221. d44 1
  222. a44 1
  223. $(CLEANALL)        : .MAKE .NOEXPORT
  224. d46 1
  225. a46 1
  226. $(TIDYALL)        : .MAKE .NOEXPORT
  227. d48 1
  228. a48 1
  229. $(DEPENDALL)        : .MAKE .NOEXPORT
  230. d60 1
  231. a60 1
  232. $(LINTALL)        : .MAKE .NOEXPORT
  233. @
  234.  
  235.  
  236. 1.7
  237. log
  238. @don't export sub-makes if they're just changing around TM.
  239. @
  240. text
  241. @d18 1
  242. a18 1
  243. # $Header: /sprite/lib/pmake/RCS/all.mk,v 1.6 88/08/23 16:47:03 douglis Exp Locker: douglis $
  244. d27 1
  245. d42 2
  246. d66 1
  247. @
  248.  
  249.  
  250. 1.6
  251. log
  252. @added instlintall target
  253. @
  254. text
  255. @d18 1
  256. a18 1
  257. # $Header: all.mk,v 1.5 88/08/12 15:53:59 ouster Exp $
  258. d37 1
  259. a37 1
  260. $(MACHINES)        : .MAKE
  261. d39 1
  262. a39 1
  263. $(CLEANALL)        : .MAKE
  264. d41 1
  265. a41 1
  266. $(DEPENDALL)        : .MAKE
  267. d43 1
  268. a43 1
  269. $(INSTALLALL)        : .MAKE
  270. d45 1
  271. a45 1
  272. $(INSTALLHDRSALL)        : .MAKE
  273. d47 1
  274. a47 1
  275. $(INSTALLSRCALL)        : .MAKE
  276. d49 1
  277. a49 1
  278. $(INSTALLDEBUGALL)        : .MAKE
  279. d51 1
  280. a51 1
  281. $(INSTLINTALL)        : .MAKE
  282. d53 1
  283. a53 1
  284. $(LINTALL)        : .MAKE
  285. d55 1
  286. a55 1
  287. $(PROFILEALL)        : .MAKE
  288. d57 1
  289. a57 1
  290. $(DEBUGALL)        : .MAKE
  291. @
  292.  
  293.  
  294. 1.5
  295. log
  296. @"debugall" and "installdebugall" targets.
  297. @
  298. text
  299. @d18 1
  300. a18 1
  301. # $Header: all.mk,v 1.4 88/06/06 17:45:01 ouster Exp $
  302. d32 1
  303. d51 2
  304. d68 1
  305. @
  306.  
  307.  
  308. 1.4
  309. log
  310. @Add "installhdrsall" and "installsrcall".
  311. @
  312. te../cc/dist/c-parse.tab.c